package com.zzyl.dto;

import com.zzyl.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "客户端：新增预约",value = "ReservationDto")
public class ReservationDto extends BaseDto {
    @ApiModelProperty(value = "预约人姓名", example = "张三")
    private String name;


    @ApiModelProperty(value = "预约人手机号", example = "13800000000")
    private String mobile;


    @ApiModelProperty(value = "预约时间", example = "2023-04-01T10:00:00")
    private LocalDateTime time;


    @ApiModelProperty(value = "探访人", example = "李四")
    private String visitor;


    @ApiModelProperty(value = "预约类型，0：参观预约，1：探访预约", example = "0")
    private Integer type;
}
